package com.common;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionServlet;;

public class ActionServletUTF8Encoding extends ActionServlet {

 @Override
 public void process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
  // TODO 
	  request.setCharacterEncoding("UTF-8");
	  response.setContentType("text/html;charset=UTF-8");
	  Constant.SYSTEMPATH=this.getServletContext().getRealPath("/");
	  super.process(request, response);
 }
}